package com.endbd.purchase.manage.firm.dao;

import com.endbd.feignapi.model.purchase.CFirm;
import com.endbd.purchase.manage.firm.model.FirmCondition;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IFirmDao {

    public List<CFirm> queryFirmCondition(FirmCondition fcon);

    public List<String> firmName(FirmCondition fcon);

    public Integer firmId(String firmName);

    public void addFirm(CFirm firm);

    public void alterFirm(CFirm firm);

    public void logFirm(Integer firmId);

    public void recoveryFirm(Integer firmId);
}
